﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/design.Master" CodeBehind="addacake.aspx.vb" Inherits="CakeThatIBaked.addacake" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="theheader">
Add a Cake (that you baked)        
</div>
<div class="thecontainer">
    <div class="thecontainerleft">
        Give you cake a Title:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="tb_Title" runat="server"></asp:TextBox> <br />
        Upload a picture of your cake: <asp:FileUpload ID="fu_CakePic" runat="server" /> <br />
        Tell us about your cake: <br />
        <asp:TextBox ID="tb_CakeDesc" runat="server" Height="83px" TextMode="MultiLine" Width="306px"></asp:TextBox>
        <br />
        When you are happy press the button below
        <br/>
        <asp:Button ID="btn_submitCake" runat="server" Text="Submit my Cake" />
    </div>
    <div class="thecontainerright">
        <p class="miniheading">Step 1 of 2</p>
        <br />
        On this page you add the basics about your cakes remember all fields are needed. Try to ensure that you include a good quilty picture as this will increase your chances of getting Gold!
        <br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="tb_Title" ErrorMessage="You must enter a title" 
            ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="fu_CakePic" ErrorMessage="You must upload a cake Picture" 
            ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="tb_CakeDesc" ErrorMessage="You must include a description" 
            ForeColor="Red"></asp:RequiredFieldValidator>
    </div>
</div>
</asp:Content>
